package com.recruit.server.service;

import com.recruit.server.common.HeaderInfo;
import com.recruit.server.request.order.AddOrderRequest;
import com.recruit.server.request.order.ListOrderRequest;
import com.recruit.server.request.order.UpdateOrderRequest;
import com.recruit.server.response.order.AddOrderResponse;
import com.recruit.server.response.order.ListOrderResponse;
import com.recruit.server.response.order.UpdateOrderResponse;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestBody;

public interface IOrderService {

    ListOrderResponse list(@Validated @RequestBody ListOrderRequest request, HeaderInfo headerInfo);

    AddOrderResponse add(@Validated @RequestBody AddOrderRequest request, HeaderInfo headerInfo);
}
